package com.uatair.system.domain;

import com.uatair.common.annotation.Excel;
import com.uatair.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 采购方/甲方飞机对照对象 sys_purchaser_sn
 * 
 * @author ruoyi
 * @date 2025-06-11
 */
public class TpPurchaserSn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 联合飞机sn */
    @Excel(name = "联合飞机sn")
    private String sn;

    /** 采购方/甲方sn */
    @Excel(name = "采购方/甲方sn")
    private String purchaserSn;

    /** 飞机类型 */
    @Excel(name = "飞机类型")
    private String model;

    /** 采购方 1-天成系统/南航 2-苏农云 */
    @Excel(name = "采购方 1-天成系统/南航 2-苏农云")
    private Integer purchaser;

    /** 部门状态（0正常 1停用） */
    @Excel(name = "部门状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setSn(String sn) 
    {
        this.sn = sn;
    }

    public String getSn() 
    {
        return sn;
    }

    public void setPurchaserSn(String purchaserSn) 
    {
        this.purchaserSn = purchaserSn;
    }

    public String getPurchaserSn() 
    {
        return purchaserSn;
    }

    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }

    public void setPurchaser(Integer purchaser) 
    {
        this.purchaser = purchaser;
    }

    public Integer getPurchaser() 
    {
        return purchaser;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sn", getSn())
            .append("purchaserSn", getPurchaserSn())
            .append("model", getModel())
            .append("purchaser", getPurchaser())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
